package com.spring.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Spring King
 * @date 2021/7/5
 */
@RestController
@RequestMapping("/greetings")
public class HelloController {

    @GetMapping
    public String get() {
        return "Hello";
    }
}
